package com.facebook.stetho

import android.content.Context

@Suppress("unused", "UNUSED_PARAMETER")
object Stetho {
    fun newInitializerBuilder(context: Context): InitializerBuilder {
        return InitializerBuilder(context)
    }

    fun initializeWithDefaults(context: Context) {}

    fun initialize(initializer: Initializer) {}

    fun defaultDumperPluginsProvider(context: Context): DumperPluginsProvider? {
        return null
    }

    fun defaultInspectorModulesProvider(context: Context): InspectorModulesProvider? {
        return null
    }

    abstract class Initializer

    class InitializerBuilder(context: Context) {
        internal val mContext: Context = context.applicationContext

        fun enableDumpapp(plugins: DumperPluginsProvider): InitializerBuilder {
            return this
        }

        fun enableWebKitInspector(modules: InspectorModulesProvider): InitializerBuilder {
            return this
        }

        fun build(): Initializer {
            return object : Initializer() {}
        }
    }

}